package bairui.international.weixin.portal.miniapp.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

import com.lianjing.sh.wx.mp.miniapp.config.ConfigI_WX_MP_MiniApp;
import com.sh_lianjing.wx.pay.config.ConfigI_WX_MP_Pay;

@Configuration
public class Config_Weixin_App implements ConfigI_WX_MP_MiniApp, ConfigI_WX_MP_Pay {

	@Value("${server.port}")
	private int server_port;
	
	@Override
	public String getAppID() {
		return "wx5ada48be8d94682f";
	}
	
	@Override
	public String getAppSecret() {
		return "0f0f552337e778525e4e445e2390200f";
	}
	
	@Override
	public String getMchId() {
		return "1603634449";
	}
	
	@Override
	public String getMchKey() {
		return "5959DCCFFB71BB43CCC5B2DF49CCA68C";
	}
	
	@Override
	public String getNotifyService(){
		return "https://bairui.tetong.cc:" + server_port;
	}
	
	@Override
	public String getSpbillCreateIp(){
		return "101.133.223.75";
	}
	
}
